SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO

CREATE PROCEDURE [dbo].gspSiteUserSiteEvent_UPDATE
(
@userId int = null,
@eventId int = null,
@createDate datetime = null,
@isDeleted bit = null
)
AS

UPDATE
  [dbo].[SiteUser_SiteEvent]
SET
  [UserId] = @userId,
  [EventId] = @eventId,
  [CreateDate] = @createDate,
  [IsDeleted] = @isDeleted
WHERE
  [UserId] = @userId
AND
  [EventId] = @eventId

GO
